package com.alex.sporttraining;

import java.util.ArrayList;

public class Utilisateur {
	private int id;
	private String nom;
	private ArrayList<Seance> lesSeances;
	private int taille;
	private double poid;
	
	public Utilisateur(int id, String nom, int taille, double poid){
		this.id = id;
		this.nom = nom;
		this.taille = taille;
		this.poid = poid;
	}
	
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getNom() {
		return nom;
	}
	public void setNom(String nom) {
		this.nom = nom;
	}
	public ArrayList<Seance> getLesSeances() {
		return lesSeances;
	}
	public void setLesSeances(ArrayList<Seance> lesSeances) {
		this.lesSeances = lesSeances;
	}
	public int getTaille() {
		return taille;
	}
	public void setTaille(int taille) {
		this.taille = taille;
	}
	public double getPoid() {
		return poid;
	}
	public void setPoid(double poid) {
		this.poid = poid;
	}
	
	public void ajoutSeance(Seance s){
		lesSeances.add(s);
	}
	
}
